﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="JT_BoardAdd.aspx.cs" Inherits="JTicket.UI.JT_BoardAdd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table align="center" border="0" cellpadding="4" cellspacing="1" class="toptable grid"
        width="100%">
        <tr>
            <td class="category t2" height="25" width="100">
                公告添加
            </td>
            <td class="category" height="25">
                &nbsp;
            </td>
        </tr>
    </table>
    <table cellpadding="1" cellspacing="1" id="TbInfo"  class="TbInfo">
        <tr>
            <td align="right" bgcolor="#3890B5" class="B" style="width: 130px">
                名称</td>
            <td height="25" align="right" bgcolor="#3890B5" class="B">
                操作
            </td>
            <td align="right" bgcolor="#3890B5" class="B" style="width: 50px">
                说明
            </td>
        </tr>
        <tr>
            <td align="center" bgcolor="#F6F6F6" style="width: 130px; height: 25px;">
                公告标题：</td>
            <td align="left" bgcolor="#F6F6F6" style="height: 25px">
                <asp:TextBox ID="TxtTitle" runat="server" Width="500px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtTitle"
                    ErrorMessage="该项必须填写"></asp:RequiredFieldValidator>
            </td>
            <td bgcolor="#F6F6F6" style="height: 25px; width: 171px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="center" bgcolor="#F6F6F6" style="height: 300px; width: 130px;">
                新闻内容：</td>
            <td bgcolor="#F6F6F6" style="height: 264px; width: 130px;">
                <asp:TextBox ID="TxtContent" runat="server" Width="600px" Height="300px" 
                    TextMode="MultiLine"></asp:TextBox>
                </td>
            <td bgcolor="#F6F6F6" style="height: 264px; width: 171px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="center" bgcolor="#f6f6f6" style="height: 27px; width: 130px;">
                添加时间：</td>
            <td align="left" bgcolor="#f6f6f6" style="height: 27px; width: 130px;">
                <asp:TextBox ID="txtTime" runat="server" Width="200px" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" ></asp:TextBox>
            </td>
            <td bgcolor="#f6f6f6" style="height: 27px; width: 171px;">
            </td>
        </tr>
        <tr>
            <td align="center" bgcolor="#f6f6f6" style="height: 27px; width: 130px;">
                启用状态：</td>
            <td align="left" bgcolor="#f6f6f6" style="height: 27px; width: 230px;">
                <asp:CheckBox ID="chState" runat="server" Checked="True" Width="229px" 
                    Text="启用" Height="40px" />
            </td>
            <td bgcolor="#f6f6f6" style="height: 27px; width: 171px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="center" bgcolor="#F6F6F6" style="width: 130px">
            </td>
            <td height="25" bgcolor="#F6F6F6" align="center">
                            <asp:Button ID="BtnAdd" runat="server" Text="添  加" OnClientClick="return isExc()"
                                onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" CssClass="submitMiniGreen"
                                OnClick="BtnAdd_Click" />
                            <asp:Button ID="BtnEdite" runat="server" Text="修  改" OnClientClick="return isExc()"
                                onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" CssClass="submitMiniGreen"
                                OnClick="BtnEdite_Click" Visible="False" />
                            <asp:Button ID="BtnEdite0" runat="server" Text="返  回" 
                                onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" 
                                CssClass="submitMiniGreen" onclick="BtnEdite0_Click" ValidationGroup="N" />
            </td>
            <td bgcolor="#F6F6F6" style="width: 171px">
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
